package api_login

import (
	"Sailor/app/Sailor-console-server/internal/service"
	"context"

	"Sailor/app/Sailor-console-server/api/api_login/v1"
)

func (c *ControllerV1) Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error) {
	return service.Login().LogicLogin(ctx, req)
}
